﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="wfCalendar.aspx.cs" Inherits="ownx.wfCalendar" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
    <head id="Head1" runat="server">
        <title>Naptár</title>
        <link href="ownx.css" rel="stylesheet" type="text/css" />
    </head>
    <body style="background-image:url(./images/bg.png); color:White; font-weight:bold;">
        <form id="form1" runat="server">
            <asp:Button ID="FalseButton" runat="server" style="height: 0px; width: 0px; background-color:#111111; border-width:0px;" Enabled="false"/>  
            <div style="width:100%; height:0px; position:absolute; left:0px; top:50%;" id="v_center">
                <div style="width:100%; height:600px; position:absolute; top:-300px; text-align:center; background-image:url(./images/alpha_bg.png); background-repeat:no-repeat; background-position:right;" id="dark">
                    <div style="width:950px; height:400px; position:relative; margin:0px auto 0px auto;">
                        <div style="width:950px; height: 400px; float:left; text-align:left;" id="main1">                        
                            <table style="height:400px; width:950px;" id="tbView" runat="server">
                                <tr style="height:1px;">  
                                    <td colspan="7">
                                        <asp:Label ID="lState" runat="server" Text="State" Visible="False"></asp:Label>
                                        <asp:Label ID="lID" runat="server" Text="ID" Visible="False"></asp:Label>                                        
                                        <asp:Label ID="lStartDate" runat="server" Text="lStartDate" Visible="False"></asp:Label>
                                        <asp:Label ID="lCurrentDate" runat="server" Text="Label" Visible="False"></asp:Label>                        
                                        <asp:Label ID="lLastLoadedID" runat="server" Text="LastLoaded" Visible="False"></asp:Label>                                        
                                    </td>
                                </tr>
                                <tr>  
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button0" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox2" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button1" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox1" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button2" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox3" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button3" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox4" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button4" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox5" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button5" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox6" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button6" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox7" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>    
                                </tr>
                                <tr>  
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button7"  Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox8"  runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button8"  Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox9"  runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button9"  Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox10" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button10" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox11" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button11" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox12" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button12" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox13" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button13" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox14" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>    
                                </tr>                                                                                                                        
                                <tr>                                                                                                                         
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button14" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox15" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button15" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox16" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button16" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox17" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button17" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox18" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button18" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox19" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button19" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox20" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button20" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox21" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>    
                                </tr>                                                                                                                        
                                <tr>                                                                                                                         
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button21" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox22" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button22" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox23" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button23" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox24" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button24" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox25" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button25" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox26" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button26" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox27" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button27" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox28" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>    
                                </tr>                                                                                                                        
                                <tr>                                                                                                                         
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button28" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox29" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button29" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox30" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button30" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox31" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button31" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox32" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button32" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox33" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button33" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox34" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button34" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox35" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True" onselectedindexchanged="LBSelectedIndexChanged"></asp:ListBox></td>    
                                </tr>                                                                                                                        
                                <tr>                                                                                                                         
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button35" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox36" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button36" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox37" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button37" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox38" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button38" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox39" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button39" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox40" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button40" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox41" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True"></asp:ListBox></td>
                                    <td style="width:130px; height:50px; font-size:xx-large" align="center"><asp:Button ID="Button41" Text="1" runat="server" CssClass="button" style="float:left; width:100%;" onclick="DayButtonClick"></asp:Button><asp:ListBox ID="ListBox42" runat="server" style="float:left; width:100%; height:30px;" CssClass="editbox" AutoPostBack="True"></asp:ListBox></td>    
                                </tr>
                            </table>    
                        </div> 
                        <div style="width:950px; height: 200px; float:left; text-align:left;" id="buttons"> 
                            <div style="width:150px; height: 200px; float: right; text-align:left">                            

                                        <asp:Button ID="btBack" runat="server" Text="Vissza" style="margin-top:5px;" CssClass="button"
                                            onclick="btBack_Click"/>
                                            <br />
 
                                        <asp:Button ID="btNew" runat="server" Text="Új" 
                                            style="margin-top:5px;" CssClass="button" onclick="btNew_Click"/>
<br />
                                        <asp:Button ID="btDelete" runat="server" Text="Töröl" 
                                            style="margin-top:5px;" CssClass="button" onclick="btDelete_Click"/>                                    
<br />
                                        <asp:Button ID="btSave" runat="server" Text="Ment" 
                                            style="margin-top:5px;" CssClass="button" onclick="btSave_Click"/>                                    
<br />
                                        <asp:Button ID="btCancel" runat="server" Text="Mégsem" 
                                            style="margin-top:5px;" CssClass="button" onclick="btCancel_Click"/>                                    
                              
                            </div>
                            <div style="float:left;">
                            <asp:Label ID="lView" runat="server" Visible="true" Text="Nézet" style=""></asp:Label>
                            <asp:RadioButton ID="rbMonthly" runat="server" style="" Visible="true"
                                Text="Havi" oncheckedchanged="rb_CheckedChanged" AutoPostBack="True" 
                                 GroupName="RB_GROUP_VIEW" />
                            <asp:RadioButton ID="rbWeekly" runat="server" GroupName="RB_GROUP_VIEW" style=""
                                Text="Heti" Checked="True" oncheckedchanged="rb_CheckedChanged" AutoPostBack="True" />
                            
                            <asp:DropDownList ID="dpYear" runat="server" AutoPostBack="True" CssClass="other_input" Style="width:auto;"
                                Visible="False">
                                <asp:ListItem>2006</asp:ListItem>
                                <asp:ListItem>2007</asp:ListItem>
                                <asp:ListItem>2008</asp:ListItem>
                                <asp:ListItem>2009</asp:ListItem>
                                <asp:ListItem>2010</asp:ListItem>
                                <asp:ListItem>2011</asp:ListItem>
                                <asp:ListItem>2012</asp:ListItem>
                                <asp:ListItem>2013</asp:ListItem>
                                <asp:ListItem>2014</asp:ListItem>
                                <asp:ListItem>2015</asp:ListItem>
                                <asp:ListItem>2016</asp:ListItem>
                                <asp:ListItem>2017</asp:ListItem>
                                <asp:ListItem>2018</asp:ListItem>
                                <asp:ListItem>2019</asp:ListItem>
                                <asp:ListItem>2020</asp:ListItem>
                            </asp:DropDownList>
                            <asp:DropDownList ID="dpMonth" runat="server" AutoPostBack="True" CssClass="other_input" Style="width:auto;" 
                                Visible="False">
                                <asp:ListItem Value="01">Január</asp:ListItem>
                                <asp:ListItem Value="02">Február</asp:ListItem>
                                <asp:ListItem Value="03">Március</asp:ListItem>
                                <asp:ListItem Value="04">Április</asp:ListItem>
                                <asp:ListItem Value="05">Május</asp:ListItem>
                                <asp:ListItem Value="06">Június</asp:ListItem>
                                <asp:ListItem Value="07">Július</asp:ListItem>
                                <asp:ListItem Value="08">Augusztus</asp:ListItem>
                                <asp:ListItem Value="09">Szeptember</asp:ListItem>
                                <asp:ListItem Value="10">Október</asp:ListItem>
                                <asp:ListItem Value="11">November</asp:ListItem>
                                <asp:ListItem Value="12">December</asp:ListItem>
                            </asp:DropDownList>
                            <asp:DropDownList ID="dpWeek" runat="server" Width="200px" AutoPostBack="True" CssClass="other_input" 
                                Visible="False"></asp:DropDownList> 
                            <br />
                            <asp:ListBox ID="lbDay" runat="server" Height="50px" Width="100%" 
                                CssClass="editbox" AutoPostBack="True" 
                                onselectedindexchanged="lbDay_SelectedIndexChanged"></asp:ListBox>
                            <asp:Label ID="lMessage" runat="server" Text="message" Width="100%" 
                                ForeColor="Red" style="text-align:center"></asp:Label> 
 
                            <asp:Label ID="lName" runat="server" Text="Név" style=""></asp:Label>        
                            <asp:TextBox ID="tbName" runat="server" style="" Width="200px" CssClass="editbox">Név</asp:TextBox>        
                            <asp:Label ID="lLocation" runat="server" style="" Text="Hely"></asp:Label>       
                            <asp:TextBox ID="tbLocation" runat="server" style="" Width="200px" CssClass="editbox">Helyszin</asp:TextBox>    
                            <br />
                            <asp:Label ID="lDate" runat="server" Text="Időpont" style=""></asp:Label>    
                            <asp:DropDownList ID="dlYear" runat="server" style="width:auto;" CssClass="other_input"
                                Enabled="False">
                                <asp:ListItem>2006</asp:ListItem>
                                <asp:ListItem>2007</asp:ListItem>
                                <asp:ListItem>2008</asp:ListItem>
                                <asp:ListItem>2009</asp:ListItem>
                                <asp:ListItem>2010</asp:ListItem>
                                <asp:ListItem>2011</asp:ListItem>
                                <asp:ListItem>2012</asp:ListItem>
                                <asp:ListItem>2013</asp:ListItem>
                                <asp:ListItem>2014</asp:ListItem>
                                <asp:ListItem>2015</asp:ListItem>
                                <asp:ListItem>2016</asp:ListItem>
                                <asp:ListItem>2017</asp:ListItem>
                                <asp:ListItem>2018</asp:ListItem>
                                <asp:ListItem>2019</asp:ListItem>
                                <asp:ListItem>2020</asp:ListItem>
                            </asp:DropDownList>
                            <asp:DropDownList ID="dlMonth" runat="server" Enabled="False" CssClass="other_input" Style="width:auto;">
                                <asp:ListItem Value="01">01</asp:ListItem>
                                <asp:ListItem Value="02">02</asp:ListItem>
                                <asp:ListItem Value="03">03</asp:ListItem>
                                <asp:ListItem Value="04">04</asp:ListItem>
                                <asp:ListItem Value="05">05</asp:ListItem>
                                <asp:ListItem Value="06">06</asp:ListItem>
                                <asp:ListItem Value="07">07</asp:ListItem>
                                <asp:ListItem Value="08">08</asp:ListItem>
                                <asp:ListItem Value="09">09</asp:ListItem>
                                <asp:ListItem Value="10">10</asp:ListItem>
                                <asp:ListItem Value="11">11</asp:ListItem>
                                <asp:ListItem Value="12">12</asp:ListItem>
                            </asp:DropDownList>    
                            <asp:DropDownList ID="dlDay" runat="server" Enabled="False" CssClass="other_input" Style="width:auto;">            
                                <asp:ListItem Value="01">01</asp:ListItem>
                                <asp:ListItem Value="02">02</asp:ListItem>
                                <asp:ListItem Value="03">03</asp:ListItem>
                                <asp:ListItem Value="04">04</asp:ListItem>
                                <asp:ListItem Value="05">05</asp:ListItem>
                                <asp:ListItem Value="06">06</asp:ListItem>
                                <asp:ListItem Value="07">07</asp:ListItem>
                                <asp:ListItem Value="08">08</asp:ListItem>
                                <asp:ListItem Value="09">09</asp:ListItem>
                                <asp:ListItem Value="10">10</asp:ListItem>
                                <asp:ListItem Value="11">11</asp:ListItem>
                                <asp:ListItem Value="12">12</asp:ListItem>
                                <asp:ListItem Value="13">13</asp:ListItem>
                                <asp:ListItem Value="14">14</asp:ListItem>
                                <asp:ListItem Value="15">15</asp:ListItem>
                                <asp:ListItem Value="16">16</asp:ListItem>
                                <asp:ListItem Value="17">17</asp:ListItem>
                                <asp:ListItem Value="18">18</asp:ListItem>
                                <asp:ListItem Value="19">19</asp:ListItem>
                                <asp:ListItem Value="20">20</asp:ListItem>
                                <asp:ListItem Value="21">21</asp:ListItem>
                                <asp:ListItem Value="22">22</asp:ListItem>
                                <asp:ListItem Value="23">23</asp:ListItem>
                                <asp:ListItem Value="24">24</asp:ListItem>
                                <asp:ListItem Value="25">25</asp:ListItem> 
                                <asp:ListItem Value="26">26</asp:ListItem> 
                                <asp:ListItem Value="27">27</asp:ListItem> 
                                <asp:ListItem Value="28">28</asp:ListItem> 
                                <asp:ListItem Value="29">29</asp:ListItem>  
                                <asp:ListItem Value="30">30</asp:ListItem> 
                                <asp:ListItem Value="31">31</asp:ListItem> 
                            </asp:DropDownList>
                            <asp:DropDownList ID="dlHour" runat="server" style="margin-left:10px; width:auto;" CssClass="other_input">
                                <asp:ListItem Value="00">00</asp:ListItem>
                                <asp:ListItem Value="01">01</asp:ListItem>
                                <asp:ListItem Value="02">02</asp:ListItem>
                                <asp:ListItem Value="03">03</asp:ListItem>
                                <asp:ListItem Value="04">04</asp:ListItem>
                                <asp:ListItem Value="05">05</asp:ListItem>
                                <asp:ListItem Value="06">06</asp:ListItem>
                                <asp:ListItem Value="07">07</asp:ListItem>
                                <asp:ListItem Value="08">08</asp:ListItem>
                                <asp:ListItem Value="09">09</asp:ListItem>
                                <asp:ListItem Value="10">10</asp:ListItem>
                                <asp:ListItem Value="11">11</asp:ListItem>
                                <asp:ListItem Value="12">12</asp:ListItem>
                                <asp:ListItem Value="13">13</asp:ListItem>
                                <asp:ListItem Value="14">14</asp:ListItem>
                                <asp:ListItem Value="15">15</asp:ListItem>
                                <asp:ListItem Value="16">16</asp:ListItem>
                                <asp:ListItem Value="17">17</asp:ListItem>
                                <asp:ListItem Value="18">18</asp:ListItem>
                                <asp:ListItem Value="19">19</asp:ListItem>
                                <asp:ListItem Value="20">20</asp:ListItem>
                                <asp:ListItem Value="21">21</asp:ListItem>
                                <asp:ListItem Value="22">22</asp:ListItem>
                                <asp:ListItem Value="23">23</asp:ListItem>
                            </asp:DropDownList>
                            <asp:DropDownList ID="dlMinute" runat="server" CssClass="other_input" Style="width:auto;">
                                <asp:ListItem Value="00">00</asp:ListItem>
                                <asp:ListItem Value="05">05</asp:ListItem>
                                <asp:ListItem Value="10">10</asp:ListItem>
                                <asp:ListItem Value="15">15</asp:ListItem>
                                <asp:ListItem Value="20">20</asp:ListItem>
                                <asp:ListItem Value="25">25</asp:ListItem>
                                <asp:ListItem Value="30">30</asp:ListItem>
                                <asp:ListItem Value="35">35</asp:ListItem>
                                <asp:ListItem Value="40">40</asp:ListItem>
                                <asp:ListItem Value="45">45</asp:ListItem>
                                <asp:ListItem Value="50">50</asp:ListItem>
                                <asp:ListItem Value="55">55</asp:ListItem>            
                            </asp:DropDownList>
                            <br />
                            <asp:Label ID="lComment" runat="server" Text="Megjegyzés" style=""></asp:Label>
                            <asp:TextBox ID="tbComment" runat="server" style="margin-right:10px;" Width="200px" CssClass="editbox">Megjegyzés</asp:TextBox>
                            <table style="width: 296px">
                                <tr>
                                    <td>
                                        <asp:Label ID="lDone" runat="server" Text="Létrejött" style=""></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="dlDone" runat="server" style="width:auto;" CssClass="other_input">
                                            <asp:ListItem Value="I">Igen</asp:ListItem>
                                            <asp:ListItem Value="N">Nem</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>

                                     <td>
                                        <asp:Label ID="lTipus" runat="server" Text="Típus" style=""></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="dlTipus" runat="server" style="width:auto;" CssClass="other_input">

                                        </asp:DropDownList>
                                    </td>
                                    <td rowspan="2" style="width:100%; text-align:center">
                                        <asp:Button ID="btPartner" runat="server" Text="Partner" Width="100%" 
                                            CssClass="button" onclick="btPartner_Click"></asp:Button>
                                    </td>
                                </tr>                                
                            </table>
                            <asp:Label ID="Label3" runat="server" Text="Felhasználó:" Style=""></asp:Label>
                            <asp:Label ID="lUsr" runat="server" Text=" " Style=""></asp:Label>

                            </div>
                        </div>                          
                        
                    </div>
                </div>
            </div>
        </form>
    </body>
</html>